home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2450 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What is '?' in C mean....?????
  5. Date: 21 Jan 1996 09:11:26 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4dts3uINNnm8@keats.ugrad.cs.ubc.ca>
  8. References: <4cgsa8$bm2@wumpus.cc.uow.edu.au> <fcusack-0401961115540001@mudskipper.cac.psu.edu> <4ci5bb$8m4@www.gnofn.org>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4ci5bb$8m4@www.gnofn.org>,
  12. Christopher L Mayeux <clm01@www.gnofn.org> wrote:
  13.  > frank. (fcusack@tdx.org) wrote:
  14.  >: > Could anyone here explain to me what is "?" means and what the purpose
  15.  >: of using
  16.  >:
  17.  >: ? : is C's ternary operator. if the condition is met, perform the
  18.  >: operation after the ?; if the condition is not met, perform the operation
  19.  >: after the :
  20.  >:
  21.  >
  22.  >What new perversion of C is that ???
  23.  >
  24.  >I've been programming in standard C for 12 years, and
  25.  >never saw THAT in the manuals.
  26.  
  27. Are you serious? Next thing you are going to say is that you have never heard
  28. of pointers, right?
  29.  
  30. The above is not the sort of admission I'd make in public.
  31. -- 
  32.  
  33.